package com.example.chat.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@TableName(value = "user_info")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class UserInfo {

    @TableField("user_id")
    private Long userId;
    @TableField("age")
    private Integer age;
    @TableField("province")
    private String province = "";
    @TableField("constellation")
    private Integer constellation;
    @TableField("follow")
    private Integer follow;
    @TableField("fans")
    private Integer fans;
    @TableField("likes")
    private Integer likes;
    @TableField("create_time")
    private String createTime;

}
